package es.deusto.tralala.rmi.server;

import java.rmi.Remote;
import java.rmi.RemoteException;
import java.util.List;

import es.deusto.tralala.data.dto.CancionDTO;
import es.deusto.tralala.data.dto.ReproduccionDTO;

public interface ITralalaFacade extends Remote {
	public String sayHello() throws RemoteException;
	public boolean login(String uid, String user, String pass) throws RemoteException;
	public List<CancionDTO> getCanciones() throws RemoteException;
	public List<CancionDTO> searchCancion(String text) throws RemoteException; // NO VA A FUNCIONAR
	public CancionDTO getCancion(String title) throws RemoteException;
	public void addReproduccion(String uid, ReproduccionDTO reproduccion) throws RemoteException;
}



